package com.linkzd.iot.model;

import com.linkzd.common.annotation.Excel;

/**
 * @author: Wangym
 * @Date: 2024/5/23 16:35
 * @Description:
 */
public class DeviceModel implements Cloneable{

    /*
    设备id
     */
    private Long deviceId;
    /*
    设备编号
     */
    private String deviceCode;

    /*
    设备类型id
     */
    private Long deviceTypeId;

    /** 设备类型 */
    private Long deviceType;
    /*
    设备数据
     */
    private String deviceData;

    /*
    房间号
     */
    private String roomNum;

    /*
    设备名称
     */
    private String deviceName;
    public DeviceModel() {
    }

    public DeviceModel(Long deviceId, String deviceCode, Long deviceTypeId, Long deviceType, String deviceData, String roomNum, String deviceName) {
        this.deviceId = deviceId;
        this.deviceCode = deviceCode;
        this.deviceTypeId = deviceTypeId;
        this.deviceType = deviceType;
        this.deviceData = deviceData;
        this.roomNum = roomNum;
        this.deviceName = deviceName;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Long getDeviceTypeId() {
        return deviceTypeId;
    }

    public void setDeviceTypeId(Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }

    public Long getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Long deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceData() {
        return deviceData;
    }

    public void setDeviceData(String deviceData) {
        this.deviceData = deviceData;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    @Override
    public String toString() {
        return "DeviceModel{" +
                "deviceId=" + deviceId +
                ", deviceCode='" + deviceCode + '\'' +
                ", deviceTypeId=" + deviceTypeId +
                ", deviceType=" + deviceType +
                ", deviceData='" + deviceData + '\'' +
                ", roomNum='" + roomNum + '\'' +
                ", deviceName='" + deviceName + '\'' +
                '}';
    }
    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
